package com.webside.points.mapper;

import java.util.List;
import java.util.Map;

import com.webside.points.model.AnswerEntity;

public interface AnswerMapper {

	public int insert(AnswerEntity answerEntity);
	
	public List<AnswerEntity> findByExpert(int expertId);
	
	public int addAnswer(AnswerEntity answerEntity);
	
	public int updateLikeMark(AnswerEntity answerEntity);
	
	public AnswerEntity findById(int answerId);
	
	public int delete(int answerId);
	
	public int updateAddAnswer(int answerId);
	
	public List<AnswerEntity> findByIssueId(Map<String,Integer> map);
	
	public int updateStatus(AnswerEntity answerEntity);
	
}
